package gui.panel;

import gui.listener.RecoverListener;
import gui.util.ColorUtil;
import gui.util.GUIUtil;

import javax.swing.*;

public class RecoverPanel extends WorkingPanel {
    static {
        GUIUtil.useLNF();
    }
    public static RecoverPanel instance = new RecoverPanel();
    JButton bRecover = new JButton("恢复");
    public  RecoverPanel(){
        GUIUtil.setColor(ColorUtil.blueColor,bRecover);
        this.add(bRecover);
        addListener();
    }

    @Override
    public void updateData() throws Exception {

    }

    @Override
    public void addListener() {
        RecoverListener listener = new RecoverListener();
        bRecover.addActionListener(listener);

    }
}
